<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(管理员首页)">
</head>
<body>
<div class="cd">
    <h2 class="kzmb">控制面板</h2>
    <hr style="color: #FFFFFF;margin-top: 33%">
    <h5 class="kzmb1">导航菜单</h5>
    <ul class="nav navbar-nav mr-auto mt-2 mt-lg-0">
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/index}">主页</a></li>
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/movie}">电影管理</a></li>
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/slice}">排片管理</a></li>
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/user}">用户管理</a></li>
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/order}">订单管理</a></li>
        <li><a class="a" style="color: #fafafa" th:href="@{/admin/password}">密码管理</a></li>
    </ul>
    <h5 style="float: left;color: #3b5998;margin-left: 37%">admin</h5>
    <a class="btn btn-md btn-primary btn--wider" style="margin-left: 28%;float: left;margin-top: 5%" th:href="@{/ALogout}">
        退出
    </a>
</div>
<div class="container cd1"  >
    <p style="margin-top: 1.2%;font-size: 25px;margin-left: 5%;background-image: -webkit-linear-gradient(bottom, rgb(201, 115, 255), rgb(20, 11, 255));-webkit-background-clip: text;
            -webkit-text-fill-color: transparent;">主页   &raquo;&raquo;</p>
    <hr>
    <img alt="" src="/static/img/xk.jpg" style="margin-top: 1%;border-radius:10px 10px 10px 10px;margin-left: 4.5%">
    <div style="width: 300px;float: left;border-radius:5px 5px 5px 5px;height: 150px;margin-left: 7.5%;background-image: -webkit-linear-gradient(bottom, rgb(201, 115, 255), rgb(20, 11, 255));margin-top: 2%">
        <h3 style="margin-top: 5%;text-align: center;color: #fafafa">电影数量</h3>
        <p style="font-size: 50px;margin-top: 5%;text-align: center;color: #2d2d2d" th:text="${page.getTotal()}"></p>
    </div>
    <div style="width: 300px;float: left;border-radius:5px 5px 5px 5px;height: 150px;margin-left: 8%;background-image: -webkit-linear-gradient(bottom, rgb(201, 115, 255), rgb(20, 11, 255));margin-top: 2%">
        <h3 style="margin-top: 5%;text-align: center;color: #fafafa">用户数量</h3>
        <p style="font-size: 50px;margin-top: 5%;text-align: center;color: #2d2d2d" th:text="${page1.getTotal()}"></p>
    </div>
    <div style="width: 300px;float: left;border-radius:5px 5px 5px 5px;height: 150px;margin-left: 8%;background-image: -webkit-linear-gradient(bottom, rgb(201, 115, 255), rgb(20, 11, 255));margin-top: 2%">
        <h3 style="margin-top: 5%;text-align: center;color: #fafafa">订单数量</h3>
        <p style="font-size: 50px;margin-top: 5%;text-align: center;color: #2d2d2d" th:text="${page2.getTotal()}"></p>
    </div>
</div>
</body>
</html>